package net.yeah.mickey_zhouyou.util.fcs.serialize;

import java.lang.reflect.Field;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.StaxDriver;

public class XStreamConvertor implements IConvertor {

	private XStream xstream = new XStream(new StaxDriver());

	@Override
	public Object fromString(String str, Field field) {
		return xstream.fromXML(str);
	}

}
